package com.hantang.web.servlet;

import java.io.PrintWriter;

import javax.servlet.http.HttpServletRequest;

import com.hantang.web.json.handlers.PubArticleHandler;

public class PubArticleServlet extends BaseServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8547489732227998566L;

	@Override
	public int doService(HttpServletRequest request, PrintWriter out) {
		String sid = request.getParameter("id");
		
		String sret = PubArticleHandler.handleServlet(sid);
		out.print(sret);
		
		return SERVLET_SUCCESS_CODE;
	}

}
